package com.shanks.home.module.media;

import android.content.Context;
import android.media.MediaPlayer;

import com.shanks.home.R;

/**
 * @author Shanks
 * @time 2013.11.18
 */
public class ShanksMediaPlayer {
	
	private Context context;
	
	public ShanksMediaPlayer(Context c) {
		context = c;
		
		play();
	}
	
	private void play() {
		MediaPlayer mediaPlayer = MediaPlayer.create(context, R.raw.rain);
		mediaPlayer.start();
	}
}